how to graph the cotangent function